package com.zt.constant;

public class SystemConstants {
    // 用户状态
    public static final int USER_STATUS_NORMAL = 1;    // 正常
    public static final int USER_STATUS_DISABLED = 0;  // 禁用

    // 用户角色
    public static final int ROLE_STUDENT = 1;  // 学生
    public static final int ROLE_TEACHER = 2;  // 教师
    public static final int ROLE_ADMIN = 3;    // 管理员

    // 教师认证状态
    public static final int TEACHER_CERT_PENDING = 1;   // 待认证
    public static final int TEACHER_CERT_APPROVED = 2;  // 已认证
    public static final int TEACHER_CERT_REJECTED = 3;  // 未通过

    // JWT相关
    public static final long TOKEN_EXPIRE_TIME = 24 * 60 * 60 * 1000L; // token有效期24小时
    public static final String TOKEN_SECRET_KEY = "tutor_secret_key";   // token密钥
} 